import { createApp } from 'vue'
import App from './App.vue'
import 'normalize.css' // 重置css,抹平各大浏览器的差异
import '@/assets/styles/common.less' // 全局样式文件
import router from '@/router' // 导入路由
import { createPinia } from 'pinia' // 导入pinia并挂载
import componentsTs from '@/components/index'
import directives from '@/directives'
createApp(App)
  .use(componentsTs)
  .use(router)
  .use(createPinia())
  .use(directives)
  .mount('#app')
